package com.location.footprint.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Mr.Jude on 2015/7/18.
 */
public class CommentsBean implements MultiItemEntity {
    public static final int COMMENTS_PARENT = 1;
    public static final int COMMENTS_LIKES = 2;
    private int itemType;

    private String nickName;
    private String avatarPath;
    private String content;
    private int commentsCount;

    public int getCommentsCount() {
        return commentsCount;
    }

    public void setCommentsCount(int commentsCount) {
        this.commentsCount = commentsCount;
    }

    private boolean isSelect;

    public List<CommentsChildBean> getChildBeanList() {
        if (childBeanList == null) {
            childBeanList = new ArrayList<>();
        }
        return childBeanList;
    }

    public void setChildBeanList(List<CommentsChildBean> childBeanList) {
        this.childBeanList = childBeanList;
    }

    private List<CommentsChildBean> childBeanList;

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }

    public CommentsBean(int itemType) {
        this.itemType = itemType;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAvatarPath() {
        return avatarPath;
    }

    public void setAvatarPath(String avatarPath) {
        this.avatarPath = avatarPath;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public int getItemType() {
        return itemType;
    }
}
